﻿<%@ Page Language="C#" AutoEventWireup="true" ValidateRequest="false" CodeBehind="login.aspx.cs"
    Inherits="WorkOrder.login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>工单管理支持系统_服务支撑室</title>
    <link rel="icon" href="favicon.ico" type="image/x-icon" />
    <link href="./css/site2.css" type="text/css" rel="STYLESHEET" />
    <script language="javascript" type="text/javascript">        //加在head中，PNG无灰色背景
        var tmp = window.navigator.userAgent.toLowerCase().indexOf("MSIE");
        //加在head中，PNG无灰色背景
        function correctPNG() {
            for (var i = 0; i < document.images.length; i++) {
                var img = document.images[i];
                var imgName = img.src.toUpperCase();
                if (imgName.substring(imgName.length - 3, imgName.length) == "PNG") {
                    var imgID = (img.id) ? "id='" + img.id + "' " : "";
                    var imgClass = (img.className) ? "class='" + img.className + "' " : "";
                    var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' ";
                    var imgStyle = "display:inline-block;" + img.style.cssText;
                    if (img.align == "left") imgStyle = "float:left;" + imgStyle;
                    if (img.align == "right") imgStyle = "float:right;" + imgStyle;
                    if (tmp >= 1) {
                        if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle;
                    }
                    else {
                        if (img.parentNode.href) imgStyle = "cursor:hand;" + imgStyle;
                    }
                    var strNewHTML = "<span " + imgID + imgClass + imgTitle + " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";"
       + "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader" + "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>";
                    img.outerHTML = strNewHTML;

                }
            }
        }

        if (window.addEventListener) {
            window.addEventListener('DOMContentLoaded', correctPNG, false);   //firefox
            window.addEventListener('load', correctPNG, false);
        } else if (window.attachEvent) {
            window.attachEvent('onload', correctPNG);  //IE
        }
    </script>
</head>
<body style="margin-left: 0px; margin-right: 0px; margin-top: 0px; font-size: 12px;
    font-family: Arial; background-color: #a9d6f7;">
    <form id="form1" runat="server">
    <div>
        <table border="0" cellpadding="0" cellspacing="0" width="100%" style="height: 75px;">
            <tr style="height: 75px">
                <td style="background-image: url('images/master_header_r1_c1.jpg'); width: 183px;">
                    &nbsp;
                </td>
                <td style="background-image: url('images/master_header_r1_c2_2.jpg'); width: 303px;">
                    &nbsp;
                </td>
                <td style="background-image: url('images/master_header_r1_c3.jpg'); width: auto;">
                    &nbsp;
                </td>
                <td style="width: 285px; background-image: url('images/master_header_r1_c5.jpg');
                    height: 75px;">
                    &nbsp;
                </td>
                <td style="background-image: url('images/master_header_r1_c6.jpg'); width: 101px;">
                    &nbsp;
                </td>
            </tr>
        </table>
        <table border="0" cellpadding="0" cellspacing="0" width="100%" style="height: 2px;">
            <tr>
                <td style="background-image: url('images/Snap1_r1_c12.gif'); width: 100%; height: 2px;">
                </td>
            </tr>
        </table>
        <table width="100%;">
            <tr>
                <td align="center" valign="middle">
                    <table border="0" cellpadding="0" cellspacing="0" width="567">
                        <tr>
                            <td style="height: 120px">
                                &nbsp;
                            </td>
                            <td>
                            </td>
                            <td colspan="2">
                            </td>
                            <td>
                            </td>
                        </tr>
                        <tr>
                            <td style="background-image: url(images/login_2_r1_c1.png); width: 87px; height: 35px;
                                border: none;">
                            </td>
                            <td colspan="3" style="background-image: url(images/login_2_r1_c2.png); width: 382px;
                                height: 35px; border: none;">
                            </td>
                            <td style="background-image: url(images/login_2_r1_c4.png); width: 98px; height: 35px;
                                border: none;">
                            </td>
                        </tr>
                        <tr>
                            <td style="background-image: url(images/login_2_r2_c1.png); width: 87px; height: 48px;
                                border: none;">
                            </td>
                            <td colspan="3" style="background-image: url(images/login_2_r2_c2.png); width: 382px;
                                height: 48px; border: none;">
                            </td>
                            <td style="background-image: url(images/login_2_r2_c4.png); width: 98px; height: 48px;
                                border: none;">
                            </td>
                        </tr>
                        <tr>
                            <td style="background-image: url(images/login_2_r3_c1.png); width: 87px; height: 23px;
                                border: none;">
                            </td>
                            <td colspan="3" style="background-image: url(images/login_2_r3_c2.png); width: 382px;
                                height: 23px; border: none;">
                            </td>
                            <td style="background-image: url(images/login_2_r3_c4.png); width: 98px; height: 23px;
                                border: none;">
                            </td>
                        </tr>
                        <tr>
                            <td style="background-image: url(images/login_2_r4_c1.png); width: 87px; height: 31px;
                                border: none;">
                            </td>
                            <td style="background-image: url(images/login_2_r4_c2.png); width: 120px; height: 31px;
                                border: none;">
                            </td>
                            <td style="background-image: url(images/login_2_r4_c3.png); width: 62px; height: 31px;
                                border: none; text-align: left; vertical-align: middle; color: #fff; font-size: 14px;">
                                用户名：
                            </td>
                            <td style="background-image: url(images/login_2_r4_c3.png); width: 200px; height: 31px;
                                border: none; text-align: left; vertical-align: middle; color: #fff; font-size: 14px;">
                                <asp:TextBox ID="txtUserID" runat="server" Width="150px" BackColor="#E7F4FC" BorderColor="#015F95"
                                    BorderStyle="Solid" BorderWidth="1px"></asp:TextBox>
                            </td>
                            <td style="background-image: url(images/login_2_r4_c4.png); width: 98px; height: 31px;
                                border: none;">
                            </td>
                        </tr>
                        <tr>
                            <td style="background-image: url(images/login_2_r5_c1.png); width: 87px; height: 34px;
                                border: none;">
                            </td>
                            <td style="background-image: url(images/login_2_r5_c2.png); width: 120px; height: 34px;
                                border: none;">
                            </td>
                            <td style="background-image: url(images/login_2_r5_c3.png); width: 62px; height: 34px;
                                border: none; text-align: left; vertical-align: middle; color: #fff; font-size: 14px;">
                                密&nbsp;&nbsp;&nbsp;&nbsp;码：
                            </td>
                            <td style="background-image: url(images/login_2_r5_c3.png); width: 200px; height: 34px;
                                border: none; text-align: left; vertical-align: middle; color: #fff; font-size: 14px;">
                                <asp:TextBox ID="txtPassword" runat="server" BackColor="#E7F4FC" BorderColor="#015F95"
                                    BorderStyle="Solid" BorderWidth="1px" Width="150px" TextMode="Password"></asp:TextBox>
                            </td>
                            <td style="background-image: url(images/login_2_r5_c4.png); width: 98px; height: 34px;
                                border: none;">
                            </td>
                        </tr>
                        <tr>
                            <td style="background-image: url(images/login_2_r6_c1.png); width: 87px; height: 32px;
                                border: none;">
                            </td>
                            <td style="background-image: url(images/login_2_r6_c2.png); width: 120px; height: 32px;
                                border: none;">
                            </td>
                            <td style="background-image: url(images/login_2_r6_c3.png); width: 62px; height: 32px;
                                border: none; text-align: left; vertical-align: middle;">
                            </td>
                            <td style="background-image: url(images/login_2_r6_c3.png); width: 200px; height: 32px;
                                border: none; text-align: left; vertical-align: middle;">
                                <asp:ImageButton ID="btnLogin" runat="server" ImageUrl="~/images/22.gif" OnClick="btnLogin_Click" />
                            </td>
                            <td style="background-image: url(images/login_2_r6_c4.png); width: 98px; height: 32px;
                                border: none;">
                            </td>
                        </tr>
                        <tr>
                            <td style="background-image: url(images/login_2_r7_c1.png); width: 87px; height: 28px;
                                border: none;">
                            </td>
                            <td style="background-image: url(images/login_2_r7_c2.png); width: 120px; height: 28px;
                                border: none;">
                            </td>
                            <td style="background-image: url(images/login_2_r7_c3.png); width: 262px; height: 28px;
                                border: none;" colspan="2">
                            </td>
                            <td style="background-image: url(images/login_2_r7_c4.png); width: 98px; height: 28px;
                                border: none;">
                            </td>
                        </tr>
                        <tr>
                            <td style="background-image: url(images/login_2_r8_c1.png); width: 87px; height: 28px;
                                border: none;">
                            </td>
                            <td style="background-image: url(images/login_2_r8_c2.png); width: 120px; height: 28px;
                                border: none;">
                            </td>
                            <td style="background-image: url(images/login_2_r8_c3.png); width: 262px; height: 28px;
                                border: none;" colspan="2">
                            </td>
                            <td style="background-image: url(images/login_2_r8_c4.png); width: 98px; height: 28px;
                                border: none;">
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
